
#include <iostream>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <sys/stat.h>


using namespace std;

int main(int argc, char* argv[]){

    std::cout << "hello world" << std::endl;

    int ret = access("/home/lhy/project/code/03_unix/test/main.cpp",F_OK | X_OK);

    printf("%d\n", ret);

    return 0;
}

